/*turns illegal filename character into legal ones*/
#include <stdio.h>

int main(int argc, char* argv[]){
	char c;
	while ((c=*argv[1]++)!='\0'){
		if ( c=='\\' || c=='/' || c==':' || c=='"' || c=='*' || c=='?' || c=='<' || c=='>' || c=='|' || c==' ')
			putchar('_');
		else
			putchar(c);
	}
	putchar('\0');
	putchar('\n');
	return 0;
}
